@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
}

#index_web {
    width: 100%;
    height: 100vh;
    background: #000000;
    position: relative;
    //加载页
    .loading {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        .layers {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            width: 80vh;
            height: 72%;
            z-index: 999999999;
            pointer-events: none;
            transition: all 0.5s;
            .layer-son {
                z-index: 9999999;
                background: #050d10;
                width: 100%;
                height: 100%;
                transition: all 0.5s;
                position: absolute;
                right: 0;
                top: 0;
            }
        }
        .load_img {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            width: 100%;
            pointer-events: none;
        }
        .wu_wenan {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            width: 100%;
            pointer-events: none;
        }
        .btm_content {
            width: 100%;
            height: 100%;
            .con {
                position: absolute;
                left: 0;
                right: 0;
                margin: auto;
                bottom: 11vw;
                width: 55%;
                display: none;
            }
            .con6 {
                position: absolute;
                left: 0;
                right: 0;
                margin: auto;
                bottom: 9.3vw;
                width: 13%;
            }
            .con3 {
                width: 48%;
            }
            .con4 {
                width: 44%;
            }
            .con5 {
                width: 42%;
            }
        }
        //加载进度百分比
        .loadings {
            width: 100%;
            position: absolute;
            bottom: 1vh;
            left: 0;
            right: 0;
            text-align: center;
            color: white;
            font-size: 25px;
            font-weight: bold;
            font-style: italic;
        }
    }
    .what {
        width: 100%;
        position: absolute;
        bottom: 5vh;
        left: 0;
        right: 0;
        display: none;
        img {
            width: 19%;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            animation: whatImg 1s infinite ease;
        }
    }
    .hidden {
        overflow-x: hidden;
    }
    //播放视频
    .video_ {
        width: 100vh;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 8999998;
        display: none;
        .go {
            position: fixed;
            width: 25%;
            top: 3vh;
            right: 4vw;
            z-index: 999;
            transition: all 3s;
            opacity: 0;
        }
    }
    //  切换门
    .switch_ {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: none;
        opacity: 1;
        img {
            width: 100%;
        }
    }
    .block_swei {
        display: block!important;
    }
    //右上角计数
    .count {
        position: fixed;
        right: 3vw;
        top: 2vh;
        overflow: hidden;
        width: 60vw;
        display: none;
        z-index: 9;
        .xs_img {
            width: 100%;
            height: 100%;
        }
        .num {
            position: absolute;
            top: 50%;
            width: 7vw;
            transform: translateY(-50%);
            right: 11vw;
            height: 73%;
            img {
                width: 70%;
                height: 75%;
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                margin: auto;
            }
        }
    }
    //内容页
    .content {
        width: 100%;
        height: 100%;
        overflow-y: hidden;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        overflow-x: scroll;
        display: none;
        .bg_imgs {
            height: 100%;
            pointer-events: none;
        }
        //花瓶
        .vase {
            width: 6vw;
            position: absolute;
            top: 60vw;
            left: 18vw;
            transition: all .3s;
        }
        .vase_fallen {
            transform-origin: bottom;
            transform: rotate(-90deg);
        }
        //线索劵1
        .securities {
            position: absolute;
            width: 13vw;
            left: 28vw;
            top: 80.6vw;
        }
        //线索劵2
        .securities2 {
            position: absolute;
            width: 11vw;
            left: 348vw;
            top: 85.5vw;
            z-index: 99;
        }
        .secue_common {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            right: 0;
            z-index: 888;
            background: rgba(0, 0, 0, .7);
            transition: all .3s;
            transform: scale(0);
            img {
                width: 90%;
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                margin: auto;
            }
        }
        .securities_scale {
            transform-origin: 20% 23%;
            transform: scale(1);
        }
        .securities2_div {
            right: 0!important;
        }
        //广播
        .advertising1 {
            width: 48vw;
            position: absolute;
            top: 0;
            left: 9.5vw;
            border: none;
        }
        .advertising2 {
            width: 53vw;
            position: absolute;
            top: 0;
            left: 65vw;
        }
        .advertising3 {
            width: 50vw;
            position: absolute;
            top: 0;
            left: 124.5vw;
        }
        .advertising1,
        .advertising2,
        .advertising3 {
            opacity: 0.5;
        }
        //人偶
        .doll {
            position: absolute;
            width: 7vw;
            left: 156.8vw;
            top: 69vw;
        }
        //人偶动画
        .doll_animetd {
            animation: doll_annimetd 2s infinite both;
        }
        //木牌
        .mupai_rotate {
            transform: rotate(-20deg);
        }
        .mupai1 {
            position: absolute;
            width: 8.3vw;
            left: 299vw;
            top: 10vw;
        }
        .mupai2 {
            position: absolute;
            width: 8.3vw;
            left: 313vw;
            top: 10vw;
        }
        .mupai3 {
            position: absolute;
            width: 8.3vw;
            left: 327vw;
            top: 10vw;
        }
        //找全线索
        .success {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            right: 0;
            z-index: 999;
            background: black;
            transition: all 0.7s;
            transform: scale(0);
            img:nth-child(1) {
                width: 66%;
                height: 78%;
                position: absolute;
                left: 0;
                right: 0;
                top: 6vh;
                margin: auto;
            }
            img:nth-child(2) {
                width: 16%;
                position: absolute;
                left: 0;
                right: 0;
                bottom: 2vh;
                margin: auto;
            }
        }
        .success_scale {
            transform: scale(1);
        }
        //分享页面
        .active {
            transform: scale(1)!important;
        }
        .share {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            right: 0;
            margin: auto;
            z-index: 999;
            background: url(../img/bg_shart.png) no-repeat;
            background-size: 100% 100%;
            transition: all 2s;
            transform: scale(0);
            img {
                position: absolute;
            }
            img:nth-child(1) {
                left: 2%;
                top: 6%;
                width: 52%;
            }
            img:nth-child(2) {
                left: 21.5%;
                top: 43%;
                width: 43%;
            }
            img:nth-child(3) {
                right: 32%;
                width: 19%;
                top: 3%;
            }
            img:nth-child(4) {
                right: 15%;
                width: 20%;
                top: 3%;
            }
            img:nth-child(5) {
                right: -1%;
                width: 20%;
                top: 3%;
            }
            img:nth-child(6) {
                right: 4%;
                width: 33%;
                top: 50%;
            }
            img:nth-child(7) {
                left: -1%;
                width: 20%;
                bottom: 0%;
            }
            img:nth-child(8) {
                right: 1%;
                width: 17%;
                bottom: 2%;
            }
            .jiantou{
                left: 3%;
                width: 12%;
                top: 2%;
                animation: jiantou 1s infinite both;
                display: none;
            }
        }
    }
}

@keyframes jiantou{
    0% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-10px);
    }
}

@keyframes whatImg {
    from {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.05, 1.05, 1.05) rotate(5deg);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

//人偶
@keyframes doll_annimetd {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-20px);
    }
}

@media screen and (min-width:812px) {
    #index_web {
        .content {
            .share {
                img:nth-child(1) {
                    width: 44%;
                }
                img:nth-child(2) {
                    width: 34%;
                }
                img:nth-child(3) {
                    width: 16%;
                }
                img:nth-child(4) {
                    width: 16%;
                }
                img:nth-child(5) {
                    width: 16%;
                }
                img:nth-child(6) {
                    width: 27%;
                }
            }
        }
    }
}

//
//@media screen and (orientation: portrait) {
//  html {
//      width: 100%;
//      height: 100%;
//      background-color: white;
//      overflow: hidden;
//  }
//  body {
//      width: 100%;
//      height: 100%;
//      background-color: red;
//      overflow: hidden;
//  }
//  #index_web {
//      position: absolute;
//      background-color: yellow;
//  }
//}
//
//@media screen and (orientation: landscape) {
//  html {
//      width: 100%;
//      height: 100%;
//      background-color: white;
//  }
//  body {
//      width: 100%;
//      height: 100%;
//      background-color: white;
//  }
//  #index_web {
//      position: absolute;
//      top: 0;
//      left: 0;
//      width: 100%;
//      height: 100%;
//      background-color: yellow;
//  }
//}